<?

bf::$url->set(array(
    // tests
    '/' . bf::$application->location . '\/test\/(?<id>\d+)\/?(\?[^\?]*)?$/'
        => 'applications/' . bf::$application->name . '/controllers/tests.php?action=test-$id',
    // JSON tests
    '/' . bf::$application->location . '\/test\/json\/(?<id>\d+)\/?(\?[^\?]*)?$/'
        => 'applications/' . bf::$application->name . '/controllers/tests-json.php?action=test-$id',

));

?>